import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { TemplateController } from './template.controller';
import { TemplateService } from './template.service';
import { Preset, PresetSchema } from './presets/schemas/preset.schema';

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: Preset.name, schema: PresetSchema }
    ])
  ],
  controllers: [TemplateController],
  providers: [TemplateService],
  exports: [TemplateService]
})
export class TemplateModule {} 